package com.kkb.enumeration;

/**
 * 性别
 */
public enum Sex {
    MALE(1, "男"), FEMALE(0, "女");

    private final Integer value;
    private final String text;

    Sex(Integer value, String text) {
        this.value = value;
        this.text = text;
    }

    public Integer getValue() {
        return value;
    }

    public String getText() {
        return text;
    }
}
